<template>
  <div class="action-box">
    <div class="action-item">
      <div class="title">
        <div class="tilte-left">
          <div class="title-logo">
            <img src="" alt="" />
          </div>
          <h4>旅途囧行</h4>
        </div>
        <div class="title-right">+关注</div>
      </div>
      <div class="img-box"></div>
      <h4 class="name">狄仁杰大法师</h4>
      <p class="decs">狄仁杰的介绍</p>
      <div class="handle">
        <div class="handle-left">
          <van-icon name="edit" size="20px" />
          <p>说点什么吧</p>
        </div>
        <div class="handle-right">
          <van-icon name="comment-circle-o" size="20px" />
          <van-icon name="thumb-circle-o" size="20px" />
        </div>
      </div>
    </div>
    <div class="action-item">
      <div class="title">
        <div class="tilte-left">
          <div class="title-logo">
            <img src="" alt="" />
          </div>
          <h4>旅途囧行</h4>
        </div>
        <div class="title-right">+关注</div>
      </div>
      <div class="img-box"></div>
      <h4 class="name">狄仁杰大法师</h4>
      <p class="decs">狄仁杰的介绍</p>
      <div class="handle">
        <div class="handle-left">
          <van-icon name="edit" size="20px" />
          <p>说点什么吧</p>
        </div>
        <div class="handle-right">
          <van-icon name="comment-circle-o" size="20px" />
          <van-icon name="thumb-circle-o" size="20px" />
        </div>
      </div>
    </div>
    <div class="action-item">
      <div class="title">
        <div class="tilte-left">
          <div class="title-logo">
            <img src="" alt="" />
          </div>
          <h4>旅途囧行</h4>
        </div>
        <div class="title-right">+关注</div>
      </div>
      <div class="img-box"></div>
      <h4 class="name">狄仁杰大法师</h4>
      <p class="decs">狄仁杰的介绍</p>
      <div class="handle">
        <div class="handle-left">
          <van-icon name="edit" size="20px" />
          <p>说点什么吧</p>
        </div>
        <div class="handle-right">
          <van-icon name="comment-circle-o" size="20px" />
          <van-icon name="thumb-circle-o" size="20px" />
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "action",
};
</script>

<style lang="scss" scoped>
.action-box {
  background: #f7f8fa;
}
.action-item {
  background: #fff;
  padding: 10px 16px;
  margin-bottom: 10px;
}
.title {
  width: 100%;
  height: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  .tilte-left {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    .title-logo {
      width: 0.6rem;
      height: 0.6rem;
      background: red;
      border-radius: 50%;
      margin-right: 5px;
    }
  }
  .title-right {
    width: 1rem;
    line-height: 0.46rem;
    border-radius: 0.3rem;
    background: #f7f8fa;
    text-align: center;
    color: red;
    font-size: 0.24rem;
  }
}
.img-box {
  width: 100%;
  height: 3.5rem;
  background: red;
  border-radius: 5px;
}
.name {
  line-height: 30px;
}
.decs {
  color: #666;
  line-height: 28px;
  font-size: 14px;
}
.handle {
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  .handle-left {
    width: 130px;
    height: 30px;
    padding: 0 10px;
    border-radius: 15px;
    background: #f7f8fa;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    p{
      margin-left: 5px;
    }
  }
  .handle-right {
    width: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
</style>